projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc865b3
)
x86: Fix arch/x86/xen.lds dependencies.
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 19 Aug 2009 16:00:26 +0000
(17:00 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 19 Aug 2009 16:00:26 +0000
(17:00 +0100)
gcc can get the dependency target name wrong (appends .o).
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/Makefile
patch
|
blob
|
history
diff --git
a/xen/arch/x86/Makefile
b/xen/arch/x86/Makefile
index a27e4bad5df4571ed43db25016d73cbaca44983a..8c3809213e980f42c67d8a6dacd96ad430a66d3c 100644
(file)
--- a/
xen/arch/x86/Makefile
+++ b/
xen/arch/x86/Makefile
@@
-84,6
+84,8
@@
asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c
xen.lds: xen.lds.S
$(CC) -P -E -Ui386 $(AFLAGS) -o $@ $<
+ sed -e 's/xen\.lds\.o:/xen\.lds:/g' <.xen.lds.d >.xen.lds.d.new
+ mv -f .xen.lds.d.new .xen.lds.d
boot/mkelf32: boot/mkelf32.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<